Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS Forward NSG Support for Bloxone Ansible v2 #45

Open
wants to merge 10 commits into
base: v2
Choose a base branch
from

Conversation

AnilGadiyarHJ
Copy link
Collaborator

Support for forward NSG in v2 ansible
Integration test - pass
Sanity - pass
Lint check - pass

@AnilGadiyarHJ AnilGadiyarHJ requested a review from unasra November 27, 2024 06:13
@AnilGadiyarHJ AnilGadiyarHJ requested a review from unasra December 11, 2024 16:02
- name: Get Forward NSG information by filters (e.g. name)
infoblox.bloxone.dns_forward_nsg_info:
filters:
name: "example_nsg"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation issue here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to be fine, please re check

tests/integration/targets/dns_forward_nsg/tasks/main.yml Outdated Show resolved Hide resolved
@AnilGadiyarHJ AnilGadiyarHJ requested a review from unasra January 7, 2025 12:52
plugins/modules/dns_forward_nsg.py Outdated Show resolved Hide resolved
plugins/modules/dns_forward_nsg.py Outdated Show resolved Hide resolved
plugins/modules/dns_forward_nsg_info.py Outdated Show resolved Hide resolved
@AnilGadiyarHJ AnilGadiyarHJ requested a review from unasra January 13, 2025 15:05
@unasra
Copy link
Collaborator

unasra commented Jan 16, 2025

LGTM
@mathewab please take a look !!

@unasra unasra requested a review from mathewab January 16, 2025 07:10
Copy link
Collaborator

@mathewab mathewab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Some minor documentation comments.

csp_url: "{{ csp_url }}"
api_key: "{{ api_key }}"
block:
# Create a random Auth Zone name to avoid conflicts
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Create a random Auth Zone name to avoid conflicts
# Create a random Forward Zone name to avoid conflicts

RETURN = r"""
id:
description:
- ID of the ForwardNsg object
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ID of the ForwardNsg object
- ID of the Forward NSG object

returned: Always
objects:
description:
- ForwardNsg object
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ForwardNsg object
- Forward NSG object

module: dns_forward_nsg_info
short_description: Manage Forward NSG
description:
- Manage Forward NSG
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description of _info modules should be Retrieve ..., and not Manage. I see this in some other modules too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants